<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">

<title>Table of Contents - matrix: Ruby Standard Library Documentation</title>


<script src="./js/navigation.js" defer></script>
<script src="./js/search.js" defer></script>
<script src="./js/search_index.js" defer></script>
<script src="./js/searcher.js" defer></script>
<script src="./js/darkfish.js" defer></script>

<script src="./js/jquery-3.2.0.min.js"></script>

<script src="./js/vue.min.js"></script>
<script src="./js/js.cookie.min.js"></script>

<link href="./css/fonts.css" rel="stylesheet">
<link id='rdoccss' href="./css/rdoc.css" rel="stylesheet">
<link href="./css/carbon17.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
  var index_rel_prefix = "./";
  var darkModeCsseHref = "./css/rdoc-dm.css"
  var defaultModeCssHref = "./css/rdoc.css"
  // var cssDarkmode = Cookies.get('darkmode');
  
  if( Cookies.get("darkmode") == "true") {
	$('#rdoccss').attr("href", darkModeCsseHref);
}

//  https://cssdeck.com/blog/simple-jquery-stylesheet-switcher/

document.write('<style type="text/css">body{display:none}</style>');

</script>


</head>
<body id="top" class="table-of-contents">
  <!-- table_of_contents.html -->
  <div id='actionbar' >
    <div class='wrapper mdiv'>
      <ul class='grids g0'></ul>
    </div> 
    <!-- VERSION HEADER for 3.3.0.preview2 NOT FOUND -->
  </div> <!-- end action bar -->

  <div class='wrapper hdiv'>

    

    <div id='extraz'><div class='adzbox-index'  >
        
      </div>         
    </div>

    <main role="main">
    <h1 class="class">Table of Contents - matrix: Ruby Standard Library Documentation</h1>


          <h2 id="classes">Classes and Modules</h2>
          <ul>
              <li class="module">
                <a href="ExceptionForMatrix.html">ExceptionForMatrix</a>
                  </li>
              <li class="class">
                <a href="ExceptionForMatrix/ErrDimensionMismatch.html">ExceptionForMatrix::ErrDimensionMismatch</a>
                  </li>
              <li class="class">
                <a href="ExceptionForMatrix/ErrNotRegular.html">ExceptionForMatrix::ErrNotRegular</a>
                  </li>
              <li class="class">
                <a href="ExceptionForMatrix/ErrOperationNotDefined.html">ExceptionForMatrix::ErrOperationNotDefined</a>
                  </li>
              <li class="class">
                <a href="ExceptionForMatrix/ErrOperationNotImplemented.html">ExceptionForMatrix::ErrOperationNotImplemented</a>
                  </li>
              <li class="class">
                <a href="Matrix.html">Matrix</a>
                  </li>
              <li class="class">
                <a href="Matrix/EigenvalueDecomposition.html">Matrix::EigenvalueDecomposition</a>
                  </li>
              <li class="class">
                <a href="Matrix/LUPDecomposition.html">Matrix::LUPDecomposition</a>
                  </li>
              <li class="class">
                <a href="Vector.html">Vector</a>

                <ul>
                    <li><a href="Vector.html#label-Method+Catalogue">Method Catalogue</a>
                    </ul>
                  </li>
              <li class="class">
                <a href="Vector/ZeroVectorError.html">Vector::ZeroVectorError</a>
                  </li>
                </ul>

                <h2 id="methods">Methods</h2>
                <ul>

                    <li class="method">
                      <a href="Matrix.html#method-c-I">::I</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-5B-5D">::[]</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-c-5B-5D">::[]</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-c-basis">::basis</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-build">::build</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-column_vector">::column_vector</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-columns">::columns</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-combine">::combine</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-diagonal">::diagonal</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-c-elements">::elements</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-empty">::empty</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-hstack">::hstack</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-identity">::identity</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-c-independent-3F">::independent?</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="ExceptionForMatrix/ErrDimensionMismatch.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">ExceptionForMatrix::ErrDimensionMismatch</span>

                    <li class="method">
                      <a href="ExceptionForMatrix/ErrNotRegular.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">ExceptionForMatrix::ErrNotRegular</span>

                    <li class="method">
                      <a href="ExceptionForMatrix/ErrOperationNotDefined.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">ExceptionForMatrix::ErrOperationNotDefined</span>

                    <li class="method">
                      <a href="ExceptionForMatrix/ErrOperationNotImplemented.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">ExceptionForMatrix::ErrOperationNotImplemented</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-c-new">::new</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-row_vector">::row_vector</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-rows">::rows</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-scalar">::scalar</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-unit">::unit</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-vstack">::vstack</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-c-zero">::zero</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-c-zero">::zero</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2A">#*</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2A">#*</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2A-2A">#**</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2B">#+</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2B">#+</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2B-40">#+@</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2B-40">#+@</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2D">#-</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2D">#-</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2D-40">#-@</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2D-40">#-@</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-2F">#/</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-2F">#/</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-3D-3D">#==</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-3D-3D">#==</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-5B-5D">#[]</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-5B-5D">#[]</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-5B-5D-3D">#[]=</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-5B-5D-3D">#[]=</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-abs">#abs</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-adjoint">#adjoint</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-adjugate">#adjugate</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-angle_with">#angle_with</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-antisymmetric-3F">#antisymmetric?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-build_eigenvectors">#build_eigenvectors</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-cdiv">#cdiv</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-check_int">#check_int</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-check_range">#check_range</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-coerce">#coerce</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-coerce">#coerce</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-cofactor">#cofactor</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-cofactor_expansion">#cofactor_expansion</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-collect">#collect</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-collect">#collect</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-collect-21">#collect!</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-collect-21">#collect!</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-collect2">#collect2</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-column">#column</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-column_vectors">#column_vectors</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-combine">#combine</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-component">#component</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-component">#component</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-conj">#conj</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-conjugate">#conjugate</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-covector">#covector</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-cross">#cross</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-cross_product">#cross_product</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-d">#d</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-det">#det</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-det">#det</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-det_e">#det_e</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-determinant">#determinant</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-determinant">#determinant</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-determinant_bareiss">#determinant_bareiss</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-determinant_e">#determinant_e</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-diagonal-3F">#diagonal?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-diagonalize">#diagonalize</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Vector.html#method-i-dot">#dot</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-each">#each</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-each">#each</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-each2">#each2</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-each_with_index">#each_with_index</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-eigen">#eigen</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-eigensystem">#eigensystem</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-eigenvalue_matrix">#eigenvalue_matrix</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-eigenvalues">#eigenvalues</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-eigenvector_matrix">#eigenvector_matrix</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-eigenvector_matrix_inv">#eigenvector_matrix_inv</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-eigenvectors">#eigenvectors</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-element">#element</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-element">#element</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-elements_to_f">#elements_to_f</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-elements_to_f">#elements_to_f</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-elements_to_i">#elements_to_i</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-elements_to_i">#elements_to_i</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-elements_to_r">#elements_to_r</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-elements_to_r">#elements_to_r</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-empty-3F">#empty?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-entrywise_product">#entrywise_product</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-eql-3F">#eql?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-eql-3F">#eql?</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-find_index">#find_index</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-first_minor">#first_minor</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-freeze">#freeze</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-freeze">#freeze</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-hadamard_product">#hadamard_product</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-hash">#hash</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-hash">#hash</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-hermitian-3F">#hermitian?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-hessenberg_to_real_schur">#hessenberg_to_real_schur</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-hstack">#hstack</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-imag">#imag</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-imaginary">#imaginary</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-independent-3F">#independent?</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-index">#index</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-initialize_copy">#initialize_copy</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-initialize_copy">#initialize_copy</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-inner_product">#inner_product</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-inspect">#inspect</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-inspect">#inspect</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-inv">#inv</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-inverse">#inverse</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-l">#l</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-laplace_expansion">#laplace_expansion</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-lower_triangular-3F">#lower_triangular?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-lup">#lup</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-lup_decomposition">#lup_decomposition</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-magnitude">#magnitude</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-map">#map</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-map">#map</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-map-21">#map!</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-map-21">#map!</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-map2">#map2</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-minor">#minor</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-norm">#norm</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-normal-3F">#normal?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-normalize">#normalize</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-orthogonal-3F">#orthogonal?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-p">#p</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-permutation-3F">#permutation?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-power_int">#power_int</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-r">#r</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-rank">#rank</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-rank_e">#rank_e</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-real">#real</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-real-3F">#real?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-rect">#rect</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-rectangular">#rectangular</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-reduce_to_hessenberg">#reduce_to_hessenberg</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-regular-3F">#regular?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-rotate_entries">#rotate_entries</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-round">#round</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-round">#round</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-row">#row</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-row_count">#row_count</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-row_size">#row_size</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-row_vectors">#row_vectors</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_col_range">#set_col_range</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_column_vector">#set_column_vector</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_component">#set_component</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-set_component">#set_component</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_element">#set_element</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-set_element">#set_element</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Vector.html#method-i-set_range">#set_range</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_row_and_col_range">#set_row_and_col_range</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_row_range">#set_row_range</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-set_value">#set_value</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-set_value">#set_value</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-singular-3F">#singular?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-singular-3F">#singular?</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Vector.html#method-i-size">#size</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-skew_symmetric-3F">#skew_symmetric?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-solve">#solve</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-square-3F">#square?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-symmetric-3F">#symmetric?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-t">#t</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-to_a">#to_a</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-to_a">#to_a</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-to_a">#to_a</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-to_a">#to_a</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-to_ary">#to_ary</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-to_ary">#to_ary</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-to_matrix">#to_matrix</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-to_matrix">#to_matrix</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-to_s">#to_s</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-to_s">#to_s</a>
                      &mdash;
                      <span class="container">Vector</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-tr">#tr</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-trace">#trace</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-transpose">#transpose</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-tridiagonalize">#tridiagonalize</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/LUPDecomposition.html#method-i-u">#u</a>
                      &mdash;
                      <span class="container">Matrix::LUPDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-unitary-3F">#unitary?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-upper_triangular-3F">#upper_triangular?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-v">#v</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix/EigenvalueDecomposition.html#method-i-v_inv">#v_inv</a>
                      &mdash;
                      <span class="container">Matrix::EigenvalueDecomposition</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-vstack">#vstack</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Matrix.html#method-i-zero-3F">#zero?</a>
                      &mdash;
                      <span class="container">Matrix</span>

                    <li class="method">
                      <a href="Vector.html#method-i-zero-3F">#zero?</a>
                      &mdash;
                      <span class="container">Vector</span>
                    </ul>
                    </main>
                  </div> 

<footer id="validator-badges" role="contentinfo">
<p><a href="https://validator.w3.org/check/referer">Validate</a></p>
<p>Generated by <a href="https://ruby.github.io/rdoc/">RDoc</a> 6.4.0.</p>
<p>Based on <a href="https://github.com/ged/darkfish/">Darkfish</a> by <a href="http://deveiate.org">Michael Granger</a>.</p>

  
    <p><p><a href="https://ruby-doc.org">Ruby-doc.org</a> is a service of <a href="https://jamesbritt.com">James Britt</a> and <a href="https://neurogami.com">Neurogami</a>, purveyors of fine <a href='https://jamesbritt.bandcamp.com/'>dance noise</a></p>
</p>
  
  </footer>

<script type="text/javascript">


  let ads  = $("#carbonads-container").children().detach();


  function swapMode() {
    var cookieName = 'darkmode';
    var cssDarkmode = Cookies.get(cookieName);
    console.log("***** swapMode! " + cssDarkmode + " *****");


    if (cssDarkmode == "true") {
      console.log("We have dark mode, set the css to light ...");
      $('#rdoccss').attr("href", defaultModeCssHref);
      $('#cssSelect').text("Dark mode");
      cssDarkmode = "false";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    } else {
      console.log("We not have dark mode, set the css to dark ...");
      $('#rdoccss').attr("href", darkModeCsseHref);
      $('#cssSelect').text("Light mode");
      cssDarkmode = "true";
      console.log("swapMode! Now set cookie to " + cssDarkmode);
      Cookies.set(cookieName, cssDarkmode);

    }

    console.log("  --------------- ");
  }


const vueCssApp = new Vue({
el: '#menubar',
data: {
isDark: false
},
methods: {
toggleClass: function(event){
this.isDark = !this.isDark;
}
}
})

const vueApp = new Vue({
el: '#vapp',
data: { 
isOpen: true
},

mounted() {
this.handleResize();
this.manage_mob_classes();
window.addEventListener('resize', this.handleResize)
//this.isOpen !=  (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},
destroyed() {
window.removeEventListener('resize', this.handleResize)
},
created() {
//manage_mob_classes();
},

methods : {
isMobile() {
  return (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
},

  handleResize() {
    if (!this.isMobile()) {
      this.isOpen = window.innerWidth > 800;
    }
  },

  manage_mob_classes() {
    if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
      $("nav").addClass("mob_nav");
      $("main").addClass("mob_main");
      $("#extraz").addClass("mob_extraz");
      $("#carbonads-container").addClass("mob_carbonads-container");
      this.isOpen  = false;
    } else {
      $("nav").removeClass("mob_nav") 
        $("main").removeClass("mob_main");
      $("#extraz").removeClass("mob_extraz");
      $("#carbonads-container").removeClass("mob_carbonads-container");
      this.isOpen  = true;
    }
  },

  toggleNav() {
    this.isOpen =! this.isOpen ;
    // alert("Toggle nav!");
    console.log("toggleNav() click: " + this.isOpen );
  }
}
})

$("#carbonads-container").append(ads);


$(function() {

    var darkmode = Cookies.get("darkmode");
    console.log("Document ready: " + darkmode);

    if ( darkmode  == "true" ) {
      $('#cssSelect').text("Light mode");
    } else {
      $('#cssSelect').text("Dark mode");
     }

    $('body').css('display','block');
    });

</script>

    
  </body> 
</html>

